package com.sskj.run.presenter;

import com.lzy.okrx2.adapter.FlowableBody;
import com.sskj.common.base.HttpData;
import com.sskj.lib.bean.PageBean;
import com.sskj.lib.http.JsonConverter;
import com.sskj.run.bean.OpenAwardBean;
import com.sskj.run.ui.activity.EveryStageFunctionActivity;

import java.util.List;

import io.reactivex.Flowable;


public class EveryStageFunctionActivityPresenter extends BasePresenter<EveryStageFunctionActivity> {

//    /**
//     * 开奖历史列表
//     */
//    public Flowable<List<OpenAwardBean>> getOpenAwardList( int page, int size) {
//        return httpService.openAwardList( page, size)
//                .converter(new JsonConverter<HttpData<PageBean<OpenAwardBean>>>() {
//                })
//                .adapt(new FlowableBody<>())
//                .map(listHttpData -> listHttpData.getData().getList());
//    }

}
